#include "rawimageconfigdialog.h"
#include "ui_rawimageconfigdialog.h"

RawImageConfigDialog::RawImageConfigDialog(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::RawImageConfigDialog)
{
    ui->setupUi(this);
}

RawImageConfigDialog::~RawImageConfigDialog()
{
    delete ui;
}

void RawImageConfigDialog::getImageInfo(int &width, int &height, int &depth, float &xSpace, float &ySpace)
{
    width = ui->imgWidthSpin->value();
    height = ui->imgHeightSpin->value();
    depth = ui->imgDepthSpin->value();
    xSpace = ui->pixelWidthSpin->value();
    ySpace = ui->pixelHeightSpin->value();
}
